package com.lcb.manager.vo;

import com.lcb.manager.entity.CoalOutput;

import java.sql.Date;
import java.util.List;

public class CoalOutputGroupByDateVo implements Comparable<CoalOutputGroupByDateVo>{

    private Date date;

    private List<CoalOutput> coalOutputList;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public List<CoalOutput> getCoalOutputList() {
        return coalOutputList;
    }

    public void setCoalOutputList(List<CoalOutput> coalOutputList) {
        this.coalOutputList = coalOutputList;
    }

    @Override
    public int compareTo(CoalOutputGroupByDateVo o) {
        return this.date.compareTo(o.date);
    }
}
